package cn.wwxula.user.service.impl;

import cn.wwxula.user.mapper.UserMapper;
import cn.wwxula.user.model.entity.User;
import cn.wwxula.user.service.UserService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author liyang23
 * @date 2024/12/09 19:04
 **/
@Slf4j
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public User getById(Long userId) {
        return userMapper.selectById(userId);
    }
}
